
local Tube = require'entities.tube'

OxygenHose = {}
OxygenHose.mt = { __index = OxygenHose }
setmetatable(OxygenHose, Tube.mt)

function OxygenHose.initialize(kind, x, y, transform, layer)


	local OXYGENHOSE_t = Tube.new('air_tubes', nil, x, y, transform, layer)
	setmetatable(OXYGENHOSE_t, OxygenHose.mt)

	OXYGENHOSE_t.tile_grid:setTile(1, 1, kind)
	OXYGENHOSE_t.health = OXYGENHOSE_t.health * OXYGEN_HOSE_HEALTH_MOD
	OXYGENHOSE_t.dmg_rate =  OXYGENHOSE_t.dmg_rate/OXYGEN_HOSE_HEALTH_MOD


	return OXYGENHOSE_t

end


function OxygenHose.new(kind, x, y, transform, layer)

	local o = OxygenHose.initialize(kind, x, y, transform, layer)

	return o

end



return OxygenHose